﻿using System;
using System.Linq;
using System.IO;

namespace _02.FilesAndFoldersTree
{
    class File
    {
        private string name;
        private long size;

        public File(string name)
        {
            this.name = name;
            this.size = new FileInfo(name).Length;
        }

        public string Name
        {
            get
            {
                return this.name;
            }
        }

        public long Size
        {
            get
            {
                return this.size;
            }
        }
    }
}
